<!--navbar-->
<div class="navbar">
    <form action="">
    <div class="navbar-inner">
        <div class="center"><div class="searchbar-new"><input id="ser" type="search" placeholder="搜索"><i class="icon icon-search"></i></div></div>
        <div class="right"><a href="javascript:void(0);"><i class="icon icon-cart"></i></a><a style="display:none;" class="link" href="{url:/yunsite/search_list}"><i class="icon icon-cart"></i></a></div>
    </div>
    </form>
</div>
<div class="pages">
    <div class="page no-swipeback" data-currpage="1" data-page="mallIndex" data-maxpage="{$totalPage}">
        <div class="page-content infinite-scroll ">

            {if:$this->index_slide}
            <!--S banner-->
            <div class="banner">
                <!-- Slider -->
                <div class="swiper-container swiper-init" data-speed="600" data-preload-images="false" data-lazy-Loading="true" data-autoplay="2000" data-loop="true" data-pagination=".page[data-page='mallIndex'] .swiper-pagination">
                    <div class="swiper-wrapper">
                        {foreach:items=$this->index_slide}
                        <a href="{$item['url']}" class="swiper-slide">
                                <img data-src="{$item['img']}?imageView2/4/w/414" class="swiper-lazy" />
                            <div class="preloader"></div>
                        </a>
                        {/foreach}
                    </div>
                    <div class="swiper-pagination"></div>
                </div>
            </div>
            <!--E banner-->
            {/if}

            <!--S catalog-->
            <div class="catalog">
                <div class="row">
                    <a href="{url:$today_special_price}" class="col-auto">
                        <img src="{$today_pic}" alt="">
                    </a>
                </div>
            </div>
            <!--E catalog-->
            <!--S list-->
            <div class="module module-product-list">
                <div class="hd row">
                    <div class="title col-70"><h2>最新上架</h2></div>
                </div>
                <div class="bd list-block infinite-scroll-content">
                    <ul>
                        {foreach:items=$goods key=$k}
                        <li>
                            <a href="{url:/yunsite/products/id/$item[id]}" class="item-inner">
                                {set:$num = $k + 1}
                                <div class="top">TOP{$num}</div>
                                <div class="media">
                                    <img src="{$item['ad_img']}" alt="">
                                </div>
                                <div class="item-cnt">
                                    <h3>{$item['name']}</h3>
                                    <P>{$item['search_words']}</P>
                                    <del>市场价:&yen;{$item['market_price']}</del>
                                    <ins>优惠价：&yen;{$item['sell_price']}</ins>
                                    <span class="add" data-id="{$item['id']}"><i class="icon icon-cart"></i></span>    
                                </div>
                            </a>
                        </li>
                        {/foreach}
                    </ul>
                </div>
            </div>
            <!--E list-->
            <!-- Preloader -->
            <div class="infinite-scroll-preloader" style="display: none">
                <div class="preloader"></div>
            </div>
        </div>
    </div>
</div>